{% if user_public.dishimage_set.all %}
		Dish Photos
		<ul class="photos">
			{% for img in user_public.dishimage_set.all %}
				<li>
					<a href="{{ img.display.url }}"><img src="{{ img.thumbnail.url }}" /></a><br>posted by {{ img.user }} on {{ img.created_date }}
			{% if show_edit %}
				<a href="/delete/?photo_id={{ img.id }}" class="delete">
					[delete]
				</a>
			{% endif %}
				</li>
			{% endfor %}
		</ul>

{% else %}
	<p>{{ user_public.username }} hasn't posted any photos yet.</p>
{% endif %}